package cn.tedu._02notice.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    //所有枚举的实例都放在最上面
    OPERATION_SUCCESS(2000,"操作成功"),
    OPERATION_FAILED(3000,"操作失败"),
    USERNAME_PASSWORD_ERROR(4000,"用户名或密码错误");

    private Integer state;
    private String message;

}
